package com.example.server.mapper;

import com.example.server.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * (Menu)表数据库访问层
 *
 * @author china.fuyao@outlook.com
 * @since 2020-04-19 14:24:43
 */
public interface MenuMapper  extends BaseMapper<Menu> {
    /**
     * 指定角色菜单列表
     * @param roleId
     * @return
     */
    List<Map> menuListByRoleId(@Param("roleId") Integer roleId);
}